Skip to main content

All Questions

0votes
0answers
292views

PnP PowerShell - Update list fields from CSV file

I have the following code and it has been working. Now our company merged and my computer is with the new company domain. New company don't have access to our SharePoint and it seems like it also want ...
maria's user avatar
1vote
1answer
168views

Add-PnPView group by secondary field

I have created a script to create number of views in SharePoint, but I am unable to work out the CAML to group by more than one field if it's possible. 1 field being: <GroupBy Collapse="TRUE&...
Bob 's user avatar
0votes
1answer
378views

Read items attachments and write them to local folder

I have this on-premises power shell script which reads SharePoint list attachments and save them to local folder: $ItemAttachmentURLPrefix =$HeaderListItem.Attachments.UrlPrefix $...
John John's user avatar
0votes
1answer
930views

PNP Powershell Updating Choice field

I have written a powershell script which reads off of a CSV and creates records in a list. There are duplicate customer names within the CSV but they will have a different 'interested system' field. ...
Adz127's user avatar
0votes
1answer
105views

Looking for the property name used to toggle to show user picture in SharePoint list field settings

For a given SharePoint list column of type User there's a column setting, a toggle that allows to show the user profile pictures instead of names only. I was looking to toggle this via PowerShell but ...
colonel_claypoo's user avatar
0votes
1answer
116views

Task List in SharePoint 2013

I want to export the task list which has enabled Send e-mail when ownership is assigned in the list using PowerShell: $ctx=Get-PnPContext $Lists = Get-PnPList $ctx.Load($Liss) $ctx.ExecuteQuery() ...
Liz's user avatar
  • 77
2votes
1answer
3kviews

RowLimit not working in PowerShell Get-PnPListitem

I am trying to get few items from SharePoint list so I am using RowLimit in a query, but it doesn't seem to work. $query = "<View><Query> <Where><Eq> <FieldRef Name='...
user3154163's user avatar
0votes
2answers
797views

Get-PnPView : Object reference not set to an instance of an object

I need PnP command to check if view exist on list before creating view. Get-PnPView -List "list1"-Identity "view1" However, I am getting below error if view doesn't exists. If ...
Chintan.Desai's user avatar
1vote
1answer
546views

How can I speed-up list item migration between two Sharepoint sites?

I have two Sharepoint sites, let's call them Business and Party for example. The Business site has a list with 1000+ items. I want to copy the list items to the Party site. I want to do this in a ...
Saaru Lindestøkke's user avatar
0votes
1answer
2kviews

Add/Change image on a SharePoint List image column

I have a SharePoint list with a column that only accepts images called Photo (SharePoint Online environment). I'm trying to add a new image to each row programmatically, but so far I've had no luck. ...
Ress's user avatar
0votes
1answer
3kviews

Copy a Sharepoint Listitem from one list to another using PnpPowershell

I want to copy a list item from one list to the other using PnP PowerShell. To copy a list item from one List: Get-PnPListItem ??? And to paste the copied item to the other List: Set-PnPListItem -...
user2170776's user avatar
0votes
2answers
376views

How to get all SP Library IDs with PnPOnline useweblogin

Can you help my with this code? #Config Parameters $SiteURL= "https://tenant.sharepoint.com/sites/TestSite1" Try { #Setup the context Connect-PnPOnline -Url $SiteUrl -useweblogin ...
George Kontus's user avatar
1vote
1answer
3kviews

Get-PnPList cmdlet not returning anything

I'm trying to retrieve information from two columns on a sharepoint list in order to use them in powershell. Here's my code so far: $SiteURL = "https://xxxx.sharepoint.com/sites/xxxxx/" ...
Ress's user avatar
2votes
3answers
2kviews

How to delete rows from a SharePoint list using PnP PowerShell?

I am using PnP PowerShell to access the SharePoint Online environment. How can I delete rows of a SharePoint list?
user avatar
1vote
2answers
4kviews

Getting latest modified item ID and Modified date from SharePoint list using PowerShell

For example: I have a following SharePoint list: ID FileName Modified 11 Text.docx 15 Aug 2018 13 Text2.docx 25 May 2013 14 ...
sk5991's user avatar

153050per page
close